package com.gifts.ui.page.selectafriend;

import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.ScrollPane;

import javax.swing.BorderFactory;
import javax.swing.BoxLayout;
import javax.swing.JButton;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.ScrollPaneConstants;

import com.gifts.ui.page.common.JThumbnailPanel;
/**
 * JUpComingBirthday Panel
 * @author dmaung
 *
 */
public class JUpcomingBirthdayPanel extends JPanel {

	private JThumbnailPanel thumbnailPanel;
	private JUpcomingBirthdayTopPanel upcomingBirthdayTopPanel;
	public JUpcomingBirthdayPanel() {

		
		upcomingBirthdayTopPanel = new JUpcomingBirthdayTopPanel();
		
		BorderLayout gridLayout = new BorderLayout();
		setLayout(gridLayout);
		
		
		setBorder(BorderFactory.createTitledBorder("Upcoming Birthday"));
		BoxLayout layout = new BoxLayout(this, BoxLayout.X_AXIS);
		setLayout(layout);
		
		
		
		
		
		
		
		
		
		thumbnailPanel = new JThumbnailPanel(270, upcomingBirthdayTopPanel.getShowMoreButton());
	
		setLayout(new BorderLayout());
		add(upcomingBirthdayTopPanel,BorderLayout.NORTH);
		add(thumbnailPanel,BorderLayout.CENTER);
		
		
		//setSize(900, 600);

	}
	
	public JThumbnailPanel getJThumbnailPanel() {
		return thumbnailPanel;
	}
	

	public JUpcomingBirthdayTopPanel getJUpcomingBirthdayTopPanel() {
		return upcomingBirthdayTopPanel;
	}
}
